package ssm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import ssm.Service.UserService;
import ssm.pojo.User;

import javax.annotation.Resource;

@Controller
@RequestMapping("/user")
public class HelloController {

	@Resource
	private UserService userService;

	@RequestMapping("/login")
	public String Login(User user) {
	/*	User u= userService.login(user);*/
		return "login";
	}

}
